package com.dk.mapper;

import com.dk.pojo.PermiRole;
import com.dk.pojo.PermiRoleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PermiRoleMapper {
    int countByExample(PermiRoleExample example);

    int deleteByExample(PermiRoleExample example);

    int deleteByPrimaryKey(Integer prId);

    int insert(PermiRole record);

    int insertSelective(PermiRole record);

    List<PermiRole> selectByExample(PermiRoleExample example);

    PermiRole selectByPrimaryKey(Integer prId);

    int updateByExampleSelective(@Param("record") PermiRole record, @Param("example") PermiRoleExample example);

    int updateByExample(@Param("record") PermiRole record, @Param("example") PermiRoleExample example);

    int updateByPrimaryKeySelective(PermiRole record);

    int updateByPrimaryKey(PermiRole record);

    int insertBatch(@Param("permiRoles")List<PermiRole> permiRoles);
}